/*
 * @Author      : ZhouQiJun
 * @Date        : 2024-06-03 16:32:34
 * @LastEditors : ZhouQiJun
 * @LastEditTime: 2025-08-12 13:14:33
 * @Description : 菜单配置
 */

export const menuList = [
  {
    name: 'ol-vue-hooks',
    path: 'initMap',
    children: [
      {
        name: '初始化地图',
        path: 'initMap',
      },
      {
        name: '切换底图',
        path: 'setupBaseLayer',
      },
      {
        name: '地图事件',
        path: 'setupEvents',
      },
      {
        name: '遮罩',
        path: 'useMask',
      },
    ],
  },
]

export const componentPath = {
  // 二次封装
  initMap: () => import('./ol/TheInitMap.vue'),
  setupBaseLayer: () => import('./ol/TheSetupBaseLayer.vue'),
  setupEvents: () => import('./ol/TheMapEvents.vue'),
  useMask: () => import('./ol/TheUseMask.vue'),
}
